<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/5/21
  Time: 11:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="header">

    <div class="header-inner">
        <a href="${root}/index" class="logo" data-act="icon-click"></a>
        <div class="city-container" data-val="{currentcityid:112 }">
            <div class="city-selected">
                <div class="city-name">
                    温州
                    <span class="caret"></span>
                </div>
            </div>
            <div class="city-list" data-val="{ localcityid: 112 }">
                <div class="city-list-header">定位城市：<a class="js-geo-city">温州</a></div>

            </div>
        </div>


        <div class="nav">
            <ul class="navbar">
                <li><a href="${root}/index" data-act="home-click"  >首页</a></li>
                <li><a href="${root}/films/index" data-act="movies-click" >电影</a></li>
                <li><a href="#" data-act="cinemas-click" >影院</a></li>
                <li><a href="http://www.gewara.com">演出</a></li>

                <li><a href="https://maoyan.com/board" data-act="board-click" >榜单</a></li>
                <li><a href="https://maoyan.com/news" data-act="hotNews-click" >热点</a></li>
                <li><a href="https://maoyan.com/edimall"  >商城</a></li>
            </ul>
        </div>

        <div class="user-info">
            <div class="user-avatar has-login">
                <c:choose>
                    <c:when test="${empty user}">
                        <img src="${root}/img/J-login.png">
                        <span class="caret"></span>
                        <ul class="user-menu">
                            <li class="text">
                                <a href="${root}/loginUI">登录</a>
                            </li>
                        </ul>
                    </c:when>
                    <c:otherwise>
                        <img src="${root}/product_Image/user_head/${user.telephone}.jpg">
                        <span class="caret"></span>
                        <ul class="user-menu">
                            <li class="text">
                                <a href="/order/index">我的订单</a>
                            </li>
                            <li class="text"><a href="${root}/logout" class="J-logout" data-act="logout-click">退出登录</a></li>
                        </ul>
                    </c:otherwise>
                </c:choose>
            </div>
        </div>

        <form action="/query" target="_blank" class="search-form" data-actform="search-click">
            <input name="kw" class="search" type="search" maxlength="32" placeholder="找影视剧、影人、影院" autocomplete="off">
            <input class="submit" type="submit" value="">
        </form>

        <div class="app-download">
            <a href="/app" target="_blank">
                <span class="iphone-icon"></span>
                <span class="apptext">APP下载</span>
                <span class="caret"></span>
                <div class="download-icon">
                    <p class="down-title">扫码下载APP</p>
                    <p class='down-content'>选座更优惠</p>
                </div>
            </a>
        </div>

    </div>
</div>
<div class="header-placeholder"></div>
